# $Id: PKGBUILD 70750 2012-05-16 10:53:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vincent Kriek <vincent@vincentkriek.nl>

pkgname=wmname
pkgver=0.1
pkgrel=2
pkgdesc="An utility to set the name of your window manager"
url="http://tools.suckless.org/wmname"
license=('custom')
depends=('libx11')
arch=('i686' 'x86_64')
source=("http://dl.suckless.org/tools/wmname-$pkgver.tar.gz")
md5sums=('6903d299f84d335e529fbd2c1d6e49fe')

build() {
  cd "${srcdir}"/$pkgname-$pkgver
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver
  make PREFIX="${pkgdir}"/usr install
  install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}
